#ifndef _TRACKED_H_
#define _TRACKED_H_

#include <string>
namespace res
{
class FileTracker;
class Tracked
{
protected:
	virtual				~Tracked();

	/// overide this to get notifed about changes.
	virtual	void		OnFileChangeNotify(const std::string& _Filename) 
	{	
		//do nothing is default behavior
	};
	/// Call this to register interest in a file.. 
	void				RegisterFile(const std::string& _File);
	/// Call this to remove yourself from the interested list.. will auto-delete itself on destruction
	void				DeRegisterFile(const std::string& _File);
};

} // namespace res
#endif // _TRACKED_H_